import { request } from '@/utils/request';
import CRUD from '@/utils/request/CRUD';
export interface CategoryVO {
  id: number;
  name: string;
  code: string;
  sort: number;
  status: number;
  remark: string;
  createTime: string;
}

// CRUD 操作
export const categoryCRUD = CRUD('/bpm/category');

 // 查询流程分类列表
export function getCategorySimpleList() {
  return request.get({
    url: '/bpm/category/simple-list'
  });
}